package com.jacobson.huobi.utils;

import java.io.UnsupportedEncodingException;

public class StringUtil {

    public static String getStringByBytes(byte[] bytes) {
        try {
            return new String(bytes,"utf-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
            return "";
        }
    }
}
